package com.slatch;

public enum TypeUnite
{
	COMMANDO("Commando", "Capable de capturer un batiment","commando",100,30,40,"fusil",TypeDeplacement.PIED,1.3, "Terrestre",100),
    DEMOLISSEUR("Demolisseur", "Capable capturer un batiment de faire des degats aux tanks","demolisseur",200,20,30,"mortier",TypeDeplacement.PIED,1.2,"Terrestre",100), 
    CHAR("Char","un char","char",300,40,60,"canon",TypeDeplacement.CHENILLES,1.3,"Terrestre",110),
    TANK("While","Unite tres puissante","tank",700,65,40,"groscanon",TypeDeplacement.CHENILLES,1.2, "Terrestre",150),
    INGENIEUR("Ingenieur","Capable de soigner des unites et de les faire evoluer","ingenieur",100,15,40,"soin",TypeDeplacement.PIED,2.0, "Terrestre",20),
    DISTANCE("Distance","un vehicule a moyenne distance","distance",350,35,50,"roquette",TypeDeplacement.ROUES,1.3, "Terrestre",110),
    UML("Uml","Capable de tirer a distance","uml",450,30,30,"missile",TypeDeplacement.CHENILLES,1.3, "Terrestre",110);

	private String aNom;
    private String aDescription;
    private String aImage;
    private int aPrix;
    private int aPVMax;
    private int aDeplacement;
    private String aAttaque;
    private TypeDeplacement aTypeDeplacement;
    private double aGain;
    public String nomType;
    private int aXPUP;
    
    TypeUnite(final String pNom,
    		final String pDescription,
    		final String pImage,
    		final int pPrix,
    		final int pPVMax,
    		final int pDeplacement,
    		final String pAttaque,
    		final TypeDeplacement pTypeDeplacement,
    		final double pGain,
    		final String pNomType,
    		final int pXPUP) {
        
        aNom=pNom;
        aDescription =pDescription;
        aImage = pImage;
        aPrix = pPrix;
        aPVMax = pPVMax;
        aDeplacement = pDeplacement;
        aAttaque = pAttaque;
        aTypeDeplacement=pTypeDeplacement;
        aGain = pGain;
        this.nomType = pNomType;
        aXPUP= pXPUP;
    }

    public String getNom() {return aNom;}
    public String getDescription() {return aDescription;}
    public String getImage() {return aImage;}
    public int getDeplacement() {return aDeplacement;}
    public TypeDeplacement getTypeDeplacement() {return aTypeDeplacement;}
    public int getPVMax() {return aPVMax;}
    public int getPrix() {return aPrix;}
    public String getAttaque() {return aAttaque;}
    public double getGain() {return aGain;}
    public int getXPUP() {return aXPUP;}
}
